package com.castle.fortress.admin.cms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.castle.fortress.admin.cms.entity.CmsCustTagEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;
/**
 * cms用户自定义标签表Mapper 接口
 *
 * @author castle
 * @since 2022-03-02
 */
public interface CmsCustTagMapper extends BaseMapper<CmsCustTagEntity> {


    List<CmsCustTagEntity> listByArticle(@Param("id")Long articleId);

    List<CmsCustTagEntity> cmsTagListCmsTag(@Param("map")Map<String, Object> map);
}

